package com.niannian.dialog;


import com.niannian.R;

import android.app.Dialog;
import android.content.Context;
import android.view.View;

public class AudioPlayeDialog extends Dialog implements android.view.View.OnClickListener {
	private static AudioPlayeDialog tipDialog;
	private String mContent;
	private String mTitle;

	private onSimpleOnCancelListener mOnCancelListener;
	private onSimpleOnClicklListener mOnClickListener;

	public AudioPlayeDialog(Context context) {
		super(context);
		init();
	}

	public AudioPlayeDialog(Context context, String text) {
		super(context);
		mContent = text;
		init();
	}

	public AudioPlayeDialog(Context context, String text, String title) {
		super(context);
		mContent = text;
		mTitle = title;
		init();
	}

	private void init() {
		setContentView(R.layout.dialog_audio_playe);

	}

	public void setOnConfimClickListener(onSimpleOnClicklListener listener) {
		mOnClickListener = listener;
	}

	public void setOnCancelListener(onSimpleOnCancelListener listener) {
		mOnCancelListener = listener;
	}

	public interface onSimpleOnCancelListener {
		public void onCancel();
	}

	public interface onSimpleOnClicklListener {
		public void onClick();
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		
	}

}
